package com.smh.hmdianping.interfaces;

import java.util.concurrent.TimeUnit;

/**
 * @author shiminghui
 * @date 2025/3/29 11:28
 * @description: TODO
 */
public interface ILock {
    boolean tryLock(long timeoutSec, TimeUnit unit);

    void unLock();
}
